﻿using System;

namespace 我的第一个WebFrom
{
    public partial class 顾客登录信息 : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            Literal2.Text = "你好，当前时间是：" + DateTime.Now.ToLocalTime().ToString();
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Literal1.Text = "你好，当前时间是：" + DateTime.Now.ToLocalTime().ToString();
            Literal3.Text = "请确认你填写的信息:";
            Literal4.Text = "姓名：  " + TextBox1.Text;
            Literal5.Text = "年龄：  " + TextBox2.Text;
            Literal6.Text = "爱好：  " + TextBox3.Text;
        }
    }
}